import http from "../../http/index"
import qs from "qs"

// 微信扫码登录
export const ApiWeChatUsersPCLogin = (params: { code: string }): RES<IWeChatUsersPCLogin> => http.post('/wechatUsers/PCLogin', qs.stringify(params))

// 获取用户信息
export const ApiShopUserProfiles = (): RES<IGetUserInfo> => http.get('/shop/userProfiles')

